package top.lingchen.spring5;

/**
 * @Author 凌宸
 * @create 2021-11-28 下午 5:22
 * @Description 演示使用有参数构造进行属性注入
 * @Version 1.0
 */
public class Orders {
    private String orderName;
    private String address;

    public Orders(String orderName, String address) {
        this.orderName = orderName;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderName='" + orderName + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
